﻿using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    public class City //: IValidatableObject
    {

        public int CityId { get; set; }

        
        [DisplayName("市代码")]
        [Required]
        public string CityNo { get; set; }

        [DisplayName("市名称")]
        [Required]
        public string CityName { get; set; }

        [DisplayName("四六级Ftp目录")]
        [DefaultValue("siliuji")]
        public string CetFtpDirectory { get; set; }

        public virtual List<Contacts> Contacts { get; set; }
    }
}
